Input action: Switch Frame Visualization Permalink

When the input event occurs, the display switches to another visualization within one frame.

“Frame selection type”

“Switch local visualization”

The “Frame Selection” group is visible.

“Switch to any visualization”

The “Frame and visualization selection” group is visible.

Requirement: “Switch local visualization” is selected.

“Frame selection”

List of all frames that contain the active visualization. The referenced visualizations are listed below each frame, as determined in the “References” property of the respective frame.

Example:

_visu_img_frame_selection.png

“Assign selection”

The selection in the “Frame selection” input field is accepted. Then it appears in the “Selected frame” and “Selected visualization” settings.

Requirement: A visualization is selected in the “Frame selection” input field.

“Selected Frame”

Name of the frame to be switched to

Example: ‎MainArea‎

Hint: Use the “Assign selection” command for changing the setting here.

“Selected Visu”

Name of the switched visualization

Example: ‎visMainArea‎

Hint: Use the “Assign selection” command for changing the setting here.

Requirement: The “Switch to any visualization” option is selected.

“Frame and visualization selection”

Contains the frame to be switched to

“Assign”

Frame to be switched to (with complete path). The index determines the visualization.

Example: ‎visMain.frameA.visB.frameB‎

The path is specified in the following syntax: ‎<visualization name>.<frame name> { <visualization name>.<frame name> }‎

Caution: Visualizations can be nested at any depth by means of frame elements. In order to use the “Switch to any visualization” frame selection type without any problems, a frame must not contain more than 21 referenced visualizations.

“Assign expression”

Variable (‎STRING‎) for the path of the frame to be switched to

Example: ‎strFrane: STRING := 'visMain.frameA.visB.frameB';‎

“Index to select”

Index that determines which of the referenced visualizations is displayed

  • As an integer

  • As a variable (integer data type)

    Example :‎PLC_PRG.iIndex‎

Note: The referenced visualizations of a frame are indexed automatically according to their order.

Requirement: The project contains visualizations that form a structure.